package com.miya.demo.model.vo.dingtalk;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 访问令牌签证官
 *
 * @author CaiXiaowei
 * @date 2022/09/01
 */
@Data
public class AccessTokenVO implements Serializable {

    @ApiModelProperty("生成的access_token")
    @JsonProperty("access_token")
    private String accessToken;

    @ApiModelProperty("access_token的过期时间，单位秒")
    @JsonProperty("expires_in")
    private Long expiresIn;

    @ApiModelProperty("返回码描述")
    private String errmsg;

    @ApiModelProperty("返回码")
    private Integer errcode;

}
